package org.ytor.common.util.jvm;

import lombok.Data;

@Data
public class ThreadInfo {
    private int threadCount;
    private int peakThreadCount;
    private int daemonThreadCount;
    private long totalStartedThreadCount;

    public ThreadInfo(int threadCount, int peak, int daemon, long totalStarted) {
        this.threadCount = threadCount;
        this.peakThreadCount = peak;
        this.daemonThreadCount = daemon;
        this.totalStartedThreadCount = totalStarted;
    }

}
